]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Center the search results as well
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 25 Feb 2013 19:48:06 +0000 (14:48 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 25 Feb 2013 19:49:25 +0000 (14:49 -0500)
Use overlay_scrollbars and the same padding.

https://bugzilla.gnome.org/show_bug.cgi?id=694701

data/theme/gnome-shell.css
js/ui/searchDisplay.js

index d1655fc62c221b931e9b701bde9d5740613ef173..a3575d92bdc481ef73928722397030e113d53de8 100644 (file)
@@ -860,6 +860,7 @@ StScrollBar StButton#vhandle:active {
     padding: 4px 16px;
 }
 
+.search-display > StBoxLayout,
 .all-apps > StBoxLayout,
 .frequent-apps > StBoxLayout {
     /* horizontal padding to make sure the scrollbar doesn't overlap content */
index 9c6c063143e4391a1dd1ae47b88fd459a93f848a..c54cd00070fb5474f2e4f8bd8dc3078930dcee61 100644 (file)
@@ -331,7 +331,8 @@ const SearchResults = new Lang.Class({
 
         this._scrollView = new St.ScrollView({ x_fill: true,
                                                y_fill: false,
-                                               style_class: 'vfade' });
+                                               overlay_scrollbars: true,
+                                               style_class: 'search-display vfade' });
         this._scrollView.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
         this._scrollView.add_actor(scrollChild);
         let action = new Clutter.PanAction({ interpolate: true });